package club.kingon.basic.basic.grammar;

/**
 * Char Learn's Main
 * @author: Kingon
 * @Date: 2019/11/3
 * @Environment: JDK1.8
 **/
public class CharLearning {
    public static void main(String[] args) {
        // WARN: if u want to run success.please delete 24th line !!!
        //Defined a normal char
        char normalChar = 'a';
        System.out.println(normalChar);
        //Check unicode char
        //Check output char
        System.out.println("\u2122");
        //Ex1. Check use unicode in codes rather than string or char
        char\u005B\u005D charArray = new char[1];
        charArray[0] = 's';
        System.out.println(charArray[0]);
        //Ex2. Check use even numbered unicode chars in string
        System.out.println("a\u0022+\u0022b");
        //Ex3. If u want to run success. Please delete current line. This line is only test blog's ex3 \u00a this is a note
    }
}
